<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%> 
<c:set var="ctx" value="${pageContext.request.contextPath}"/>
<title>查看会员详情</title>

<div class="row no-gutter">
	
	<div class="panel panel-default">
	
		<div class="panel-heading">
		<h3>会员详情</h3>
		<table class="table table-bordered table-hover" >		
		<tr>
			<td>会员编号</td>				
			<td>${member.memberId}</td>			
		</tr>
		<tr>
			<td>会员名称</td>				
			<td>${member.memberName}</td>			
		</tr>
		<tr>
			<td>性别</td>				
			<td>${member.gender}</td>			
		</tr>
		<tr>
			<td>生日</td>				
			<td>${member.birthday}</td>			
		</tr>
		<tr>
			<td>身份证号</td>				
			<td>${member.cardId}</td>			
		</tr>
		<tr>
			<td>电话</td>				
			<td>${member.telphone}</td>			
		</tr>
		<tr>
			<td>Email</td>				
			<td>${member.email}</td>			
		</tr>
		<tr>
			<td>剩余积分</td>				
			<td>${member.remainingIntegral}</td>			
		</tr>
		<tr>
			<td>最后消费日期</td>				
			<td>${member.lastConsumerDate}</td>			
		</tr>
		<tr>
			<td>状态</td>				
			<td>${member.state}</td>			
		</tr>
		<tr>
			<td>总消费额</td>				
			<td>${member.totalAmount}</td>			
		</tr>
		<tr>
			<td>总消费次数</td>				
			<td>${member.consumerNumber}</td>			
		</tr>
		<tr>
			<td>会员冲减积分</td>				
			<td>${member.integralMemberShock}</td>			
		</tr>
		<tr>
			<td>开卡费</td>				
			<td>${member.openCardFee}</td>			
		</tr>
		<tr>
			<td>开始日期</td>				
			<td>${member.startDate}</td>			
		</tr>
		<tr>
			<td>结束日期</td>				
			<td>${member.endDate}</td>			
		</tr>
		</table>
		
		<a href="${ctx}/members" class="btn btn-info">返回</a>
		
		</div>
		
	</div>

</div>
